/**
 * 随机生成16进制颜色
 * @returns 
 */
export const randomColor = (): string => {
    let letters: string = '0123456789ABCDEF';
    let color: string = '#';
    for (let i = 0; i < 6; i++) {
        color += letters[Math.floor(Math.random() * 16)];
    }
    return color;
}